package factory.one.utils;

public class SqlUtil {

    public static String page(int page, int size) {
        if (page < 0) {
            page = 1;
        }
        if (size < 0) {
            size = 10;
        }
        return " offset " + (page - 1) * size + " rows fetch next " + size + " rows only";
    }
}
